package cat;

public class Cat {
    private int id;
    private String name;
    private String category;
    private String color;
    private String location;
    private String personality;


    public Cat(int id, String name,
               String category, String color, String location, String personality){
        this.name = name;
        this.category = category;
        this.color = color;
        this.location = location;
        this.personality = personality;
    }

    public int getId() {
        return id;
    }

    public String getCategory() {
        return category;
    }

    public String getColor() {
        return color;
    }

    public String getLocation() {
        return location;
    }

    public String getName() {
        return name;
    }

    public String getPersonality() {
        return personality;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPersonality(String personality) {
        this.personality = personality;
    }

    public String[] getCatInArray(){
        String[] cat = new String[5];
        cat[0] = this.name;
        cat[1] = this.category;
        cat[2] = this.color;
        cat[3] = this.location;
        cat[4] = this.personality;
        return cat;
    }


}
